package pl.un4giv3n.mightvsmagic.jobs;

import javax.persistence.EntityManager;

import pl.un4giv3n.mightvsmagic.utils.ClanStatsUtil;

public class RefreshClanRankTask {
	
	private EntityManager em;
	
	public RefreshClanRankTask(EntityManager entityManager) {
		this.em = entityManager;
	}

	public void refreshRank() {
		ClanStatsUtil.refreshCache(em);
	}
}
